export interface ResponseData {
  code: number
  message: string
  ok: boolean
}

export interface PermissionListResponseData extends ResponseData {
  data: PermissionData[]
}
export interface PermissionData {
  id: number
  label: string
  children: PermissionData[]
  code: string
  level: number
  name: string
  pid: number
  select: boolean
  toCode: string
  type: number
}
